package Person.Lambda;

import javax.swing.plaf.TableHeaderUI;

public class LambdashowDemo {
    public static void main(String[] args) {
        useInter(() -> System.out.println("户总"));

//        Runnable r = () -> System.out.println("Lambda表达式");
//         new Thread(r).start();
        new Thread(() -> System.out.println("Lambda表达式")).start();





    }
    private static void useInter(Inter i){
        i.show();
    }
}
